package com.lingnan.dao;

import com.lingnan.entity.Clazz;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * \* Author: RIKU
 * \* Date: 2020/6/7 20:58
 * \* Description: //TODO
 * \* To change this template use File | Settings | File Templates.
 * \
 */
@Mapper
@Repository
public interface ClazzDao {
    boolean insert(Clazz bean);

    List<Clazz> queryAll();

    Clazz queryById (Integer id);
}
